package com.ctgu.entity;

import java.io.Serializable;

public class User implements Serializable {
    private int user_id ;
    private String username;
    private String psw;
    private String phone;
    private  String question;
    private  String answer;

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString(){
        return "User [id=" + user_id + ", username=" + username + ", password=" + psw
                + ", phone=" + phone + ", question="+question+",answer="
                + answer + "]";
    }
}
